import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/Home.vue'
import CinemaRouter from './Cinema'
import MovieRouter from './Movie'
import MineRouter from './Mine'

Vue.use(Router)

export default new Router({
    mode: 'history',
    routes : [
        {
            path : '/',
            redirect: '/movie',
            name : 'home',
            component : Home
        },
        CinemaRouter,
        MovieRouter,
        MineRouter,

        
    ]
})